package com.tajiang.business.common.constant;

import com.tajiang.business.common.utils.SharedPreferencesUtils;

/**
 * Created by Administrator on 2016/6/6.
 * 系统常量
 */
public class TJCst {

    public static final String CUSTOMER_SERVICES_PHONE = "4009920278";

    public static final boolean IS_DEBUG = false;
    /**
     * 内存监控开关 LeakCanary (存放于BaseActivity中)
     */
    public static final boolean IS_LEAK_CANARY_OPEN = false;
    /**
     * 正式服务器
     * http://rest.itajiang.com:8888/
     * https://rest.itajiang.com/taj/
     */
    public static final String HOST = "apiwmdev.axpapp.com";//正式库
    public static final String HOST_TEST = "apiwmdev.axpapp.com";//测试库
    // http://apipre.axpapp.com/
    // apipre.itajiang.com/
    // public static final String HOST = "apipre.itajiang.com";//taj/
    /**
     * 测试服务器
     */
    // public static final String TEST_HOST = "test.itajiang.com:8889";

//    public static final String TEST_HOST = "121.196.217.158:9001";//taj

    //简步超本地服务器
//    public static final String BIG_BROTHER = "192.168.0.93:8086";

//    public static final String LV_TEST = "192.168.0.81:8086";

//    public static final String ZD_TEST = "121.196.217.158:9001";
//    public static final String ZD_TEST = "apipre.axpapp.com";
//    public static final String ZD_TEST = "apipre.itajiang.com";

    /**
     * 线上版本请使用此URL
     * 根URl地址
     */
//    public static final String BASE_URL = "https://" + (IS_DEBUG ? ZD_HOST : HOST) + "/business/";
    /**
     * 线下测试版本请使用此URL
     * 根URl地址
     */
    public static String BASE_URL = "http://" + SharedPreferencesUtils.get(SharedPreferencesUtils.HOST_TEST_ROOT_URL, HOST) + "/";

}
